using UnityEngine;
using Yoozoo.UI.YGUI;

namespace Yoozoo.Gameplay.RTS
{
    public class MapPoliceHpBar : MonoBehaviour
    {
        public YImage ProgressImage;

        public void SetValue(float progress)
        {
            if (ProgressImage!=null)
            {
                ProgressImage.fillAmount = progress;
            }
        }
    }
}